JavaScript

{dialog.object}openLookup Method

Syntax

{dialog.object}.openLookup(UXControlID,ele);

Arguments

UXControlID

The field for which the lookup was defined. Must be uppercase.

ele

A pointer to the DOM element that invokes the lookup. Use {dialog.object}.getPointer to get a pointer to the UXControlID for this parameter.

Description

Opens the lookup Grid for a particular field.

Example

var ele = {dialog.object}.getPointer('TEXTBOX_1');
{dialog.object}.openLookup('TEXTBOX_1', ele);